package org.yoyo.classroom.service;

import com.github.pagehelper.PageInfo;
import org.yoyo.classroom.domain.po.Notice;
import org.yoyo.classroom.domain.query.NoticeQuery;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: cc
 * @Date: 2024/12/22/10:41
 **/
public interface NoticeService {
    PageInfo<Notice> getNoticeList(NoticeQuery query);
    int addNotice(Notice notice);
    int updateNotice(Notice notice);
    int deleteNotice(Long id);
    int updateStatus(Long id, String status);
}